KsLogChannel.Index 欄位
軸、輸入或輸出之索引。
當來源為 logUser
,索引即為使用者變數的添加順序。例如:
.NET API
api.AddVariable("Temperature", KsLogDataType.logDouble);
api.AddVariable("Voltage", KsLogDataType.logDouble);
api.AddVariable("Warning", KsLogDataType.logDouble);
.NET Class
subsystem.AddDoubleVariable("Temperature");
subsystem.AddDoubleVariable("Voltage");
subsystem.AddDoubleVariable("Warning");
Index 0:溫度
Index 1:電壓
Index 2:警告
注意:對於 UserVariable,僅適用於 KINGSTAR 4.3 及之前版本。
命名空間:IntervalZero.KINGSTAR.Base
組合: IntervalZero.KINGSTAR.Base (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
語法
public int Index
Public Index As Integer
欄位值
型別:int
參見